home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr35
/
scani02b.zip
/
SCANIT.DOC
< prev
next >
Wrap
Text File
|
1995-01-09
|
19KB
|
399 lines
┌╦═══╦┐ ┌╦═══╦┐ ┌╦═══╦┐ ┌╦═╗ ╦┐ ┌═╤╦╤═┐ ┌═╤╦╤═┐ ╒╦╕
└╩═══╦┐ │║ ├╬═══╬┤ │║ ║ ║│ │║│ │║│ ╘╩╛
└╩═══╩┘ └╩═══╩┘ └╩ ╩┘ └╩ ╚═╩┘ └═╧╩╧═┘ ╧╩╧ └╩┘
Copyright (c) 1994 - Blake Software
A WildStuff (tm) Utility!
An inexpensive archive/virus tester for WildCat 4.x!
[ About SCANIT! ]
This is a *BETA* version of SCANIT that is fully operational with
.EXE, .ZIP, and .ARJ files. It has been designed to use version
2.x (or higher) of McAfee's SCAN. I have been running it on my
BBS for a couple of months with no problems, and it has been
running the same amount of time at 14 BETA sites (both single
and multi-line) with no reported problems.
This version of SCANIT is FREE! You can run it for as long as you
like at no cost. The final release of SCANIT _will_ require a $10.00
registration fee and a key file to operate in *registered* mode.
CONDITIONS FOR RUNNING SCANIT!
You can run this BETA version FREE OF CHARGE. But (here's the catch!),
you must:
1) In your archive comment (ZIP/ARJ comment file), you _must_ state
that the file was tested using SCANIT! from Blake Software.
2) Accept full responsiblity for any problems that arise from the use
of SCANIT!. Your use of SCANIT! is your agreement to accept all
responsiblity for its' use.
3) Report any problems you encounter with SCANIT! to me so I can
get it fixed!
Not too bad, I guess. There could be additional updates to this
WIDE BETA release before SCANIT! goes final. These updates will
be free of charge, as well. For those of you that would like to
go ahead and send in your $10.00, please DON'T at this time! Please
wait until SCANIT! is complete (Thanks!).
[ Version .02b (BETA) ]
*NOTICE TO ALL BETA SITES!*
This version of SCANIT is limited in what it will scan. In other words,
I haven't built in all of the functions yet that I plan on implementing.
This version is ONLY capable of scanning the following files with
McAfee's Scan: .EXE, .ZIP, .ARJ. It will _ATTEMPT_ to scan any other
file type that you have not excluded from your system when uploaded (more
about this later in this text), but there is no guarantee that it will
be accurate at this point (SCAN works with MOST files, but there are some
that it can not actually virus check, such as archived files other than
ZIP and ARJ files; example: JUNK.ARC).
I DO plan on implementing support for .LZH (LHArc) files in a future
release. Other archive formats I *MIGHT* possibly support if YOU
ask for it! PKZIP and ARJ (plus LHARC) seem to be the most widely used,
therefore I wrote SCANIT to work with them. Personally, I prefer
PKZIP and, while I allow ARJ files on my BBS, I do ask my users to
upload files that have been ZIPPED. Why? Most folks out there use
PKZIP and are comfortable with its' use. Even the novice (and SUB
novice users <grin>) can figure out PKZIP without too much trouble.
When a caller downloads a file from my BBS, it's almost always in
ZIP format so they can easily unzip it and put it to work. In other
words, it's a personal thing with me! <g>
[ SCANIT! - How to set it up ]
To run SCANIT on your system, this archive should include the following
files. If any are missing, please call my BBS and download a good copy.
SCANFILE.WCX <<-- The SCANIT program
SCANIT.DOC <<-- This documentation file
SCANIT3.BBS <<-- Example SCANIT display screen
SCANICFG.WCX <<-- SCANIT Configuration Program
SCANIT.CFG <<-- Example SCANIT configuration file
Step 1.
Put the files SCANFILE.WCX (SCANIT!) and SCANICFG.WCX in your
\WILDCAT (Wildcat Home) directory.
Step 2.
Run SCANICFG.WCX. You can either add it as a menu item to your
(*recommended*) SYSOP menu, or run it from the DOS prompt by
typing: WILDCAT /RUN SCANICFG
This will create the SCANIT.CFG file needed for SCANIT to operate
properly on your BBS. Follow the on-screen prompts and enter the
information required. If the file SCANIT.CFG exists, you will enter
in EDIT mode (it will load your existing SCANIT.CFG file, preserving
your original settings) so you can make changes as needed.
SCANIT.CFG File Structure (sample SCANIT.CFG included in archive)
c:\wildcat\wcwork\node <<-- Path to NODE directory (Don't enter Node #'s!)
C:\wildcat <<-- Path to Wildcat HOME directory
.bat <<-- File extensions to EXCLUDE (1 of 10)
.com
.sys
.bmp
.tif
.arc
.jpg
.mpg
.lzh
.rar
c:\wildcat\comment.txt <<-- Complete path\filename.ext of COMMENT file
PKZIP <<-- Default Archiver
N <<-- Convert to default archiver (not yet functional)
0 <<-- Default conference for sending failed messages
CALLER <<-- Send failed messages to (SYSOP, CALLER, BOTH, NONE)
Y <<-- Force mail check on failed scan
scanit3.bbs <<-- Name of SCANIT display file to use
18 <<-- Row for SCANIT status messages during scan
6 <<-- Row to display FILENAME during scan
34 <<-- Col to display FILENAME during scan
9 <<-- Row to display FILE ACCEPTABILITY status
3 <<-- Col to display FILE ACCEPTABILITY status
11 <<-- Row to display ARCHIVE INTEGRITY status
3 <<-- Col to display ARCHIVE INTEGRITY status
13 <<-- Row to display VIRUS SCAN status
3 <<-- Col to display VIRUS SCAN status
15 <<-- Row to display SYSOP FUNCTIONS status
3 <<-- Col to display SYSOP FUNCTIONS status
10 <<-- Number of seconds to pause screen for FAILS
3 <<-- Number of seconds to pause screen for PASSES
Structure
1....NodePath (Complete path to the NODE directory - no node #'s PLEASE!)
2....Log Path (Complete path for SCANIT.LOG file - no trailing "\"please!)
3....Exclude(1) (Excludes are UNACCEPTABLE FILE EXTENSIONS!)
4....Exclude(2) (i.e., .BMP, .JPG, .LZH, .COM, .ARC, etc.)
5....Exclude(3)
6....Exclude(4)
7....Exclude(5)
8....Exclude(6)
9....Exclude(7)
10...Exclude(8)
11...Exclude(9)
12...Exclude(10)
13...Path\filename to Comment file for ZIP/Arj files
14...Default packer (i.e., PKZIP, ARJ)
15...Convert uploads to default packer (Y/N)
16...Default Conference for Msgs (i.e., 0, 1, 2, etc.)
17...Msg To (Sysop, Caller, Both, or NONE)
18...Force mail check after failed file? (Y/N) (force caller to see msg)
19...Filename of Display File to use
20...Line number (ROW Number) for status messages
21...ROW to place FILENAME
22...COL to place FILENAME
23...ROW to place FILE ACCEPTABILITY status
24...COL to place FILE ACCEPTABILITY status
25...ROW to place ARCHIVE INTEGRITY status
26...COL to place ARCHIVE INTEGRITY status
27...ROW to place VIRUS SCAN status
28...COL to place VIRUS SCAN status
29...ROW to place SYSOP FUNCTIONS status
30...COL to place SYSOP FUNCTIONS status
31...Time to pause screen (in seconds) for FAILED FILE
32...Time to pause screen (in seconds) for PASSED FILE
*NOTE* On EXCLUDE files:
Exclude files are file extensions that you DO NOT want accepted by
your system! Enter the FULL EXTENSION (including the period) for
any file extension that you want excluded from your BBS. If you
only have one or two, leave the others BLANK, but the BLANK LINE
_MUST_ still be there!
Here's an example. I don't want ANYONE uploading a file with the
extension .COM to my BBS! So, I add the extension .COM to any of
the EXCLUDE lines in SCANIT.CFG. The file can _STILL_ be uploaded
to the BBS, but SCANIT will flag it as having failed VIRUS CHECK
in the WildCat file database. If you have the Message option
turned on, a message will be sent to whom you have directed informing
them of the failure. I personally want a message sent to ME
(the sysop) informing me that a file has failed scan (saves me from
having to check the logs! Since I check my mail everytime I log on,
I know immediately if there is a problem file on the system and can
take action to deal with it).
*NOTE ON COMMENT FILES*
ZIP/ARJ files can have imbedded COMMENT files placed in them that
appear to the person unarchiving (unzipping) them. This is a
nice touch that let's you:
1. Advertise your system
2. Let's a caller see where they downloaded the file from
It is a pure ASCII text file and can be as many lines long as you
want (up to 64K in most instances). However, it is best if you
keep this file to not more than about 15-20 lines long for best
readability by user when the file is unarchived. Here's a
sample of what a zip comment can look like:
----------- EXAMPLE COMMENT.TXT file -------------
*
┌╦═══╦┐ ┌╦═══╦┐ ┌╦═══╦┐ ┌╦═╗ ╦┐ ┌═╤╦╤═┐ ┌═╤╦╤═┐ ╒╦╕
└╩═══╦┐ │║ ├╬═══╬┤ │║ ║ ║│ │║│ │║│ ╘╩╛
└╩═══╩┘ └╩═══╩┘ └╩ ╩┘ └╩ ╚═╩┘ └═╧╩╧═┘ ╧╩╧ └╩┘
This file was downloaded from Green Acres! BBS in Clovis, NM!
It was archive/virus tested using SCANIT and McAfee's VirusScan!
----------- End Example --------------------------
Hint:
Notice the "*" (asterisk) at the top of the example. You need to put
SOMETHING on the top line of a COMMENT.TXT file (doesn't matter what
character you use) to cause the file to be displayed correctly to the
user unarchiving it. Spaces or blank lines _can_ be ignored, so put a
"-" or "*" or something there!
Step 3.
After creation of the SCANIT.CFG file, change to your \WILDCAT\BATCH
directory. If you have a file there called SCANFILE.BAT, rename it
to SCANFILE.OLD (or delete it). SCANIT does not use this file, but
if it exists, it will override SCANFILE.WCX from running. If you
do not have a FILEDESC.BAT file, I _STRONGLY_ suggest that you create
one. Here is what it looks like:
EXAMPLE FILEDESC.BAT:
pkunzip %1 FILE_ID.DIZ DESC.SDI
arj e %1 FILE_ID.DIZ DESC.SDI
Wildcat automatically executes this file, if it exists, after each
upload and will extract the files FILE_ID.DIZ and DESC.SDI (if the
file has them) and will use these for the file description in the
Wildcat file database. This batch file needs to be in your
WILDCAT\BATCH directory. The above example extracts this information
from a ZIPped or ARJed file.
Step 4.
Create a display file that the caller (and you) see during the scan
process. You can use the one that comes in the archive (SCANIT3.BBS),
or design your own using WCDraw, BullDraw, or TheDraw.
4a. The display file you create MUST be placed in the DISPLAY file
directory! If you run MULTIPLE DISPLAY FILE directories on
your BBS, then it must be in ALL of them! The display file
directory, for you "just starting" WildCat SysOps, is usually
\WILDCAT\DISP.
4b. Look at the docs above to see how each item that SCANIT
places on screen is performed. YOU tell SCANIT where to
display the filename, file acceptability, archive integrity,
virus scan, and sysop function information! Be aware
that the SCANIT status message row is used from Col 2 to
Col 76 when drawing your screens.
4c. Do _NOT_ make your screen longer than 21 lines! Lines 22
and 23 are reserved by SCANIT to display copyright information
and will overwrite whatever you place there.
Step 5.
You are now finished and are ready to start scanning uploads!
If a file fails scan, SCANIT will:
1. Create/update a log file called SCANIT.LOG in the directory
you have specified with the information regarding the reason
for failure.
2. Flag the file in the Wildcat file database as having failed scan.
3. <IF> you have the auto-messaging toggle turned on in SCANIT.CFG,
SCANIT will send a message (or messages) to the party(s) as
configured informing them of the failure.
[ Files you _MUST_ have on your system for SCANIT to work! ]
If you want SCANIT to work properly, you *MUST* have the following
programs installed on your system:
1. MOST IMPORTANT! McAfee's VirusScan! (SCAN.EXE)
2. PKZIP 2.04g (or newer version)
3. ARJ 2.41 (or newer version)
ALL of these programs _MUST_ be in a directory that is in your PATH
statement! If you don't have any of these programs, you can download
or FREQ them from my BBS. If you are FREQing them, here are the
file names:
PKZIP 204G - PKZ204G.EXE (Self-extracting Archive)
ARJ 2.41 - ARJ241E.EXE (Self-extracting Archive)
For McAfee's Virus Scan: The filename on this changes often!
You _should_ be able to find it on any system in your area (locally)
and save yourself a long distance phone call (as with the others)!
But, if you can't, call up my BBS to ensure you get the newest version.
[ Notes to BETA Sites ]
I'm willing to do just about anything to this thing to make it easy to
use and still do a good job. I want to keep the price at $10.00 (I
was gonna ask $15.00, but most of us on a tight budget have a hard
enough time with $10.00 regs!). My goals for Scanit are:
1) Make it easy to set up and run
2) Make it reliable so you don't have to worry about it running! <g>
3) Keep it inexpensive so more sysops run a scanner!!!!
4) Support the major archivers (ZIP, ARJ - LZH later)
[ Notes to Myself for Updates ]
Note:
Add- LHARC Support (in work)
Add- RIP stuff
Add- INCLUDE FILE in archive <Your BBS ad, etc>
Add- Remove junk files <Other BBS ads,etc> list
Add- Use text file for messages or 1-liner from Scanit
Add- User created display file support (in work)
Add- Multiple display screen support (Randomly displayed)
Add- Minimum baud rate to display full-color screens to
Add- Send msg if file passes <optional>
Add- DATE checking
Add- GIF testing
? Add- DELETE FAILED FILES FROM DISK/DATABASE (sysop configurable)
? Add- MOVE FAILED FILES TO AREA function (sysop configurable)
*Note* ? flags - Are these options REALLY necessary since
failed files are marked as having failed
scan in the WC file database and are
therefore inaccessable by all but the
sysop anyway? Let me know how you
feel about it.
Considerations (let me know how you feel about these):
Possibly create display file (sysop configurable) to display
the results of scans and show what files have been uploaded,
and by whom, daily.
PLEASE! PLEASE! PLEASE!
Drop me mail and let me know if you encounter a problem with SCANIT, or
if there is something you want added or changed! You can reach me on
my BBS (Green Acres! BBS - 1200-14400 Baud (505)763-5129) or netmail
me via 1:318/4.
[ License Agreement ]
1. Proprietary Rights and Obligations: SCANIT is the valuable
property of Blake Software. You agree not to modify, adapt,
translate, reverse engineer, decompile, disassemble, create
derivative works based on SCANIT or any part of it.
Trademarks shall be used in accordance with accepted trademark
practice, including identification of trademark owners name.
This license agreement refers to: SCANIT!
At each mention of the term "program" SCANIT is being
referred to as well.
SCANIT may be used on any computer your own or operate, as
long as there is no possiblity of it being used on two or more
computers at the same time (concurrent copies of it may NOT be
in operation). The license for SCANIT may not be given or
transferred to any other individual, company, corporation or
entity. It is valid for the original licensee only. Failure
to comply with this license agreement immediately revokes your
license to use SCANIT.
2. Right of Ownership: Blake Software retains title
and ownership of SCANIT. This Agreement does NOT grant
you any rights to intellectual property rights in SCANIT.
This Agreement does NOT grant you any rights to use of the
trademarks. SCANIT is protected by copyright laws and
international treaty.
7. Limited Warranty: SCANIT is provided "as is" without warranty
of any kind, either expressed or implied, including but not
limited to the fitness for a particular purpose. The entire risk
as to the quality and performance of SCANIT is with you. Should
the software prove defective, you (not Blake Software) assume
the entire cost of all necessary servicing, repair or
correction. Blake Software does not warrant that SCANIT will
meet your requirements or that the operation of SCANIT will be
uninterrupted or error free.
8. Limit of Liability: In NO event will Blake Software be liable
to YOU for any consequential or incidental damages, including
lost profits or lost savings, or for any claim by any party,
even if a representative of Blake Software has been advised of
the possibility of such damages.
9. Term: The Licence Agreement is effective until terminated.
Blake Software has the right to terminate your licence immediately
if you fail to comply with the terms of this Licence Agreement.
Blake Software retains the right to stop supporting SCANIT at
any time without any notice.
10. Governing Law: This Licence Agreement will be governed by the
Laws of the state of New Mexico, USA, and you specifically
attorn to the jurisdiction of the courts of New Mexico, in
the Judicial District of Curry County, for any proceedings relating
to this Licence Agreement.
[ DISCLAIMER ]
I will not be responsible for any losses (whether time, data,
hardware, or any form of loss) you might incur from the use of this
program (SCANIT). If you do not agree to hold me harmless, then
you may not use this software. Your use of SCANIT is your agreement
to hold me harmless in any loss you might incur, either directly or
indirectly, from it's use even if Blake Software or an agent thereof
has been advised beforehand of a possible or existing problem.
SCANIT is the copyright of Blake Software, 1994/1995, and is protected
by U.S. and international copyright laws. It may not be decompiled,
reverse engineered, altered, or tampered with in any way. Doing so
is a violation of U.S. and international law and is punishable by
those laws.